{  Statement: http://acmp.ru/?main=task&id_task=195
   Verdict: Accepted
}
uses
    SysUtils, Math;

var
    a,b,c:longint;

begin
reset(input,'input.txt');
rewrite(output,'output.txt');
read(a,b,c);
write(2 * a * b * c);
end.
